package org.example.time.util;

/**
 * 区间取值策略
 *
 * @author YunKaiLuo
 * @date 2024/10/9
 */
public enum IntervalValueStrategy {
    /**
     * 相等
     *
     * 如果ClassificationOfTimeEnum=DAY
     * 2020-4-12 0:01  2020-4-12 0:01
     */
    EQUAL,
    /**
     * 左闭右开
     *
     * 如果ClassificationOfTimeEnum=DAY
     * [2020-4-12 0:01,2020-4-13 0:01)
     */
    LEFT_CLOSED_RIGHT_OPEN,
    /**
     * 左闭右闭
     *
     * 如果ClassificationOfTimeEnum=DAY
     * [2020-4-12 0:01,2020-4-13 23:59]
     */
    LEFT_CLOSED_RIGHT_CLOSED;
}
